package main

//0ms 100%,3.1MB 55%
func reverseLeftWords(s string, n int) string {
	sLen := len(s)
	res := make([]byte, sLen)
	for i := n; i < sLen; i++ {
		res[i-n] = s[i]
	}
	for i := sLen - n; i < sLen; i++ {
		res[i] = s[i-sLen+n]
	}
	return string(res)
}

func main() {
	reverseLeftWords("123", 1)
}
